const _import = require("./_import_" + process.env.ROUT_MODE);
let appManagement=        {
    path: "app-management",
    name: "APP后台管理",
    component: {
        render (c) {
            return c("router-view");
        }
    },
    children: [{
        path: "advertisement-management",
        name: "广告管理",
        redirect: "/app-management/advertisement-management",
        component: {
            render (c) {
                return c("router-view");
            }
        },
        children: [{
            path: "position-list",
            name: "广告位列表",
            component: _import("app-management/advertisement-management/position-list"),
        },
        {
            path: "advertisement-list",
            name: "广告列表",
            component: _import("app-management/advertisement-management/advertisement-list")
        },
        {
            path: "advertisement-add",
            name: "广告详情",
            component: _import("app-management/advertisement-management/advertisement-add"),
        }
        ]
    },
    {
        path: "online-classroom",
        name: "在线课堂",
        redirect: "/app-management/online-classroom/onlineClassroom-list",
        component: {
            render (c) {
                return c("router-view");
            }
        },
        children: [{
            path: "onlineClassroom-list",
            name: "课程列表",
            component: _import("app-management/online-classroom/onlineClassroom-list"),
            children: [{
                path: "onlineClassroom-details",
                name: "课程详情",
                component: _import("app-management/online-classroom/onlineClassroom-list/onlineClassroom-details"),
                meta: { isSub: true }
            }]
        }]
    },
    {
        path: "yingliantong-management",
        name: "婴联通广告管理",
        redirect: "/app-management/yingliantong-management/position-list",
        component: {
            render (c) {
                return c("router-view");
            }
        },
        children: [{
            path: "position-list",
            name: "婴联通广告位列表",
            component: _import("app-management/yingliantong-management/position-list"),
        },
        {
            path: "advertisement-list",
            name: "婴联通广告列表",
            component: _import("app-management/yingliantong-management/advertisement-list"),
        },
        {
            path: "advertisement-add",
            name: "婴联通广告详情",
            component: _import("app-management/yingliantong-management/advertisement-add"),
        },
        {
            path: "suggested-information",
            name: "婴联通咨询推荐列表",
            component: _import("app-management/yingliantong-management/suggested-information"),
        }
        ]
    },
    {
        path: "interfaceInformation-config",
        name: "界面信息管理配置",
        redirect: "/app-management/interfaceInformation-config",
        component: {
            render (c) {
                return c("router-view");
            }
        },
        children: [{
            path: "shop-config",
            name: "婴联通门店详情配置",
            component: _import("app-management/interfaceInformation-config/shop-config"),
        }]
    }
    ]
}
export default appManagement